﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001293 RID: 4755
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingExamResultConfirmScRsp : IMessage<SwordTrainingExamResultConfirmScRsp>, IMessage, IEquatable<SwordTrainingExamResultConfirmScRsp>, IDeepCloneable<SwordTrainingExamResultConfirmScRsp>, IBufferMessage
	{
		// Token: 0x17003C3A RID: 15418
		// (get) Token: 0x0600D530 RID: 54576 RVA: 0x0023D6AD File Offset: 0x0023B8AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingExamResultConfirmScRsp> Parser
		{
			get
			{
				return SwordTrainingExamResultConfirmScRsp._parser;
			}
		}

		// Token: 0x17003C3B RID: 15419
		// (get) Token: 0x0600D531 RID: 54577 RVA: 0x0023D6B4 File Offset: 0x0023B8B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingExamResultConfirmScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C3C RID: 15420
		// (get) Token: 0x0600D532 RID: 54578 RVA: 0x0023D6C6 File Offset: 0x0023B8C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingExamResultConfirmScRsp.Descriptor;
			}
		}

		// Token: 0x0600D533 RID: 54579 RVA: 0x0023D6CD File Offset: 0x0023B8CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingExamResultConfirmScRsp()
		{
		}

		// Token: 0x0600D534 RID: 54580 RVA: 0x0023D6D5 File Offset: 0x0023B8D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingExamResultConfirmScRsp(SwordTrainingExamResultConfirmScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D535 RID: 54581 RVA: 0x0023D6FA File Offset: 0x0023B8FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingExamResultConfirmScRsp Clone()
		{
			return new SwordTrainingExamResultConfirmScRsp(this);
		}

		// Token: 0x17003C3D RID: 15421
		// (get) Token: 0x0600D536 RID: 54582 RVA: 0x0023D702 File Offset: 0x0023B902
		// (set) Token: 0x0600D537 RID: 54583 RVA: 0x0023D70A File Offset: 0x0023B90A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D538 RID: 54584 RVA: 0x0023D713 File Offset: 0x0023B913
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingExamResultConfirmScRsp);
		}

		// Token: 0x0600D539 RID: 54585 RVA: 0x0023D721 File Offset: 0x0023B921
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingExamResultConfirmScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D53A RID: 54586 RVA: 0x0023D750 File Offset: 0x0023B950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D53B RID: 54587 RVA: 0x0023D78F File Offset: 0x0023B98F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D53C RID: 54588 RVA: 0x0023D797 File Offset: 0x0023B997
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D53D RID: 54589 RVA: 0x0023D7A0 File Offset: 0x0023B9A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D53E RID: 54590 RVA: 0x0023D7D4 File Offset: 0x0023B9D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D53F RID: 54591 RVA: 0x0023D812 File Offset: 0x0023BA12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingExamResultConfirmScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D540 RID: 54592 RVA: 0x0023D843 File Offset: 0x0023BA43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D541 RID: 54593 RVA: 0x0023D84C File Offset: 0x0023BA4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400553D RID: 21821
		private static readonly MessageParser<SwordTrainingExamResultConfirmScRsp> _parser = new MessageParser<SwordTrainingExamResultConfirmScRsp>(() => new SwordTrainingExamResultConfirmScRsp());

		// Token: 0x0400553E RID: 21822
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400553F RID: 21823
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04005540 RID: 21824
		private uint retcode_;
	}
}
